#!/usr/bin/env python
#######################################
# Installation module for dictionaries
#######################################

# AUTHOR OF MODULE NAME
AUTHOR="Mauro Risonho de Paula Assumpcao (firebits)"

# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update Golismero is a framework for security testing."

# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="GIT"

# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/golismero/golismero.git"

# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="golismero"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="python2.7 python2.7-dev python-pip python-docutils git perl nmap sslscan"

# DEPENDS FOR FEDORA INSTALLS
FEDORA="git,perl,nmap,sslscan"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION},pip install -r requirements.txt,pip install -r requirements_unix.txt,ln -s  {INSTALL_LOCATION}/golismero.py /usr/bin/golismero,mkdir ~/.golismero,touch ~/.golismero/user.conf,chmod 600 ~/.golismero/user.conf,exit"
